<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<title>后台管理</title>
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}"></script>
<script>
var weburl="{yun:}$config.sy_weburl{/yun}"
function audall(status){
	var codewebarr="";
	$(".check_all:checked").each(function(){ //由于复选框一般选中的是多个,所以可以循环输出
		if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
	});
	if(codewebarr==""){
		parent.layer.msg("您还未选择任何信息！",2,8);return false;
	}else{
		$("input[name=pid]").val(codewebarr);
		$("#alertcontent").val('');
		$("input[name=status]").attr("checked",false);
		add_class('批量审核','390','240','#status_div','');
	}
}
function checkstate(id,state){
	var pytoken = $('#pytoken').val();
	$.post("index.php?m=admin_entry&c=checkstate",{id:id,state:state,pytoken:pytoken},function(data){
		if(data==1){
			if(state=='1'){
				$('#state'+id).html('<span class="admin_com_noAudited" onclick="checkstate(\''+id+'\',\'2\');">已下架</span>');
			}else{
				$('#state'+id).html('<span class="admin_com_Audited"  onclick="checkstate(\''+id+'\',\'1\');">发布中</span>');
			}
		}
	});

}
 
function audall3(status){
	var codewebarr="";
	$(".check_all:checked").each(function(){ //由于复选框一般选中的是多个,所以可以循环输出
		if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
	});
	if(codewebarr==""){
		parent.layer.msg("您还未选择任何信息！",2,8);	return false;
	}else{
		$("input[name=jobid]").val(codewebarr);
		add_class('批量修改职位类别','320','280','#infobox4','');
	}
}
$(function(){
	$(".status").click(function(){
		var id=$(this).attr("pid");
		$("input[name=pid]").val($(this).attr("pid"));
 		var status=$(this).attr("status");
		$("#status"+status).attr("checked",true);
		
		layui.use(['form'],function(){
		var form = layui.form;
		form.render();
		});

		var pytoken=$("#pytoken").val();
		$.post("index.php?m=admin_entry&c=lockinfo",{id:id,pytoken:pytoken},function(msg){
			$("#alertcontent").val(msg);
			add_class('职位审核','390','240','#status_div','');
		});
	});

	
	$(".xuanshang").click(function(){
 		$("input[name='pid']").val($(this).attr("pid"));
		$("input[name=eid]").val($(this).attr("eid"));
		var xstime=$(this).attr("xstime"); 
		$("input[name='xuanshang']").val('');
		$("input[name='xsdays']").val('');
		$(".xsdiv").hide();
		if(xstime){
			$(".xsdate").html(xstime);
			$(".xsdiv").show();
			add_class('职位置顶','300','250','#infobox3','');
		}else{
			add_class('职位置顶','300','200','#infobox3','');
		}
		
	});

	$(".urgent").click(function(){
		$("input[name=pid]").val($(this).attr("pid"));
		$("input[name=eid]").val($(this).attr("eid"));
		var eurgent=$(this).attr("eurgent"); 

		if($(this).attr("tid")>0){
			$("#surplus_urgent").html($(this).attr("tid")+"天+");
			$("#surplus_urgent").show();
		}
		$(".eurgentdiv").hide();
		if(eurgent){
			$(".eurgent").html(eurgent);
			$(".eurgentdiv").show();
			add_class('紧急招聘','290','250','#infobox5','');
		}else{
			add_class('紧急招聘','290','220','#infobox5','');
		} 
	});
	$(".rec").click(function(){
		$("input[name=pid]").val($(this).attr("pid"));
		$("input[name=eid]").val($(this).attr("eid"));
		var edate=$(this).attr("edate"); 
		if($(this).attr("tid")>0){
			$("#surplus_recommend").html($(this).attr("tid")+"天+");
			$("#surplus_recommend").show();
		}
		$(".edatediv").hide();
		if(edate){
			$(".edate").html(edate);
			$(".edatediv").show();
			add_class('职位推荐','290','250','#infobox6','');
		}else{
			add_class('职位推荐','290','220','#infobox6','');
		} 
	});
});

$(document).ready(function(){
	$(".job_name_all").hover(function(){
		var job_name=$(this).attr('v');
		if($.trim(job_name)!=''){
			layer.tips(job_name, this, {guide: 1, style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']}); 
			$(".xubox_layer").addClass("xubox_tips_border");
		} 
	},function(){
		var job_name=$(this).attr('v'); 
		if($.trim(job_name)!=''){
			layer.closeAll('tips');
		} 
	});
});

function Refresh(){//批量刷新
	var codewebarr="";
	$(".check_all:checked").each(function(){ //由于复选框一般选中的是多个,所以可以循环输出
		if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
	});
	if(codewebarr==""){
		parent.layer.msg("请选择要刷新的职位！",2,8);return false;
	}else{
		$.post("index.php?m=admin_entry&c=refresh",{ids:codewebarr,pytoken:$('#pytoken').val()},function(data){
			parent.layer.msg("刷新成功！",2,9);
		})
	}
}
function recommend(){//批量推荐
	var codearr="";
	$(".check_all:checked").each(function(){ //由于复选框一般选中的是多个,所以可以循环输出
		if(codearr==""){codearr=$(this).val();}else{codearr=codearr+","+$(this).val();}
	});
	if(codearr==""){
	    parent.layer.msg("请选择要推荐的职位！",2,8);return false;
	}else{
	    $("input[name=codearr]").val(codearr);
		$(".edatediv").hide();
	    add_class('职位批量推荐','290','220','#infobox6','');
	}
}
function urgent(){//批量紧急
    var codeugent="";
	$(".check_all:checked").each(function(){
	    if(codeugent==''){codeugent=$(this).val();}else{codeugent=codeugent+","+$(this).val();}
	});
	if(codeugent==""){
	    parent.layer.msg("请选择要紧急的职位！",2,8);return false;
	}else{
	    $("input[name=codeugent]").val(codeugent);
		$(".eurgentdiv").hide();
		add_class('职位批量紧急','290','220','#infobox5','');
	}
}
function Export(){
	var codewebarr="";
	$(".check_all:checked").each(function(){ //由于复选框一般选中的是多个,所以可以循环输出
		if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
	});
	if(codewebarr==""){
		layer.msg('您还未选择需要导出用户！', 2, 8);	return false;
	}else{
		$("input[name=pid]").val(codewebarr);
//		add_class('选择导出字段','650','340','#export','');
		setTimeout(function(){$('.myform1').submit()},0);
		layer.closeAll();
	}
}
function check_xls(){
	var type="";
	$(".type:checked").each(function(){ //由于复选框一般选中的是多个,所以可以循环输出
		if(type==""){type=$(this).val();}else{type=type+","+$(this).val();}
	});
	if(type==""){
		layer.msg("请选择导出字段！",2,8);return false;
	}
	setTimeout(function(){$('.myform1').submit()},0);
	layer.closeAll();
}
function isxs(){
	var xtype=$("#xtype").attr("checked");
	var days=$.trim($("input[name='xsdays']").val());  
	layer.closeAll();
	if(xtype=="checked"){
		parent.layer.confirm("确定取消该职位置顶？",function(){setTimeout(function(){$('.xssubmit').submit()},0);parent.layer.load('执行中，请稍候...',0);},function(){layer.closeAll();});
	}else{
		if(days<1){ 
			parent.layer.msg("置顶天数均不能为空！",2,8,function(){add_class('职位置顶','300','200','#infobox3','');});return false;
		}else{
			parent.layer.confirm("是否确定为该职位增加"+days+"天置顶服务？",function(){setTimeout(function(){$('.xssubmit').submit()},0);parent.layer.load('执行中，请稍候...',0);},function(){layer.closeAll();});
			
		} 
	}
}
function checkmove(){
	if($("#hy").val()==""){
		layer.msg("请选择行业类别！",2,8);return false;
	}
	if($("#job1_son").val()==""){
		layer.msg("请选择职位类别！",2,8);return false;
	}
}

</script>
</head>
<body class="body_ifm">

<div id="export" style="display:none;">
  <div class="" style=" margin-top:10px; "  >
    <div>
      <form action="index.php?m=admin_handle_entry&c=xls" target="supportiframe" method="post" id="formstatus" class="myform1">
        <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
        <input type="hidden" name="where" value="{yun:}$where{/yun}">
		  <!--<input type="hidden" name="pid" value="1">-->
        <input name="pid" value="0" type="hidden">
        <div class="admin_resume_dc">
			<label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="id">
            ID</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="member_name">
            姓名</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="member_age">
            年龄</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="member_sex">
            性别</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="member_card">
            身份证号</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="member_phone">
            联系电话</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="member_address">
            家庭住址</span></label>
			<label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="job_id">
            岗位ID</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="job_name">
            岗位</span></label>
			<label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="company_id">
            企业ID</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="company_name">
            面试企业</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="entry_time">
            添加时间</span></label>
          <label><span class="admin_resume_dc_s">
            <input type="checkbox" class="type" name="type[]" value="entry_state">
            状态</span></label>
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="minsalary,maxsalary">-->
            <!--薪水</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="number">-->
            <!--招聘人数</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="exp">-->
            <!--工作经验</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="report">-->
            <!--到岗时间</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="sex">-->
            <!--性别要求</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="edu">-->
            <!--教育程度</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="marriage">-->
            <!--婚姻状况</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="sdate">-->
            <!--开始日期</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="lastdate">-->
            <!--更新时间</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="age">-->
            <!--年龄要求</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="lang">-->
            <!--语言要求</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="welfare">-->
            <!--福利待遇</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="com_name">-->
            <!--公司名称</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="pr">-->
            <!--公司性质</span></label>-->
          <!--<label><span class="admin_resume_dc_s">-->
            <!--<input type="checkbox" class="type" name="type[]" value="mun">-->
            <!--企业规模</span></label>-->
        </div>
        <div class="admin_resume_dc_sub" style="margin-top:10px;">
          <input type="button" onClick="check_xls();"  value='确认' class="admin_resume_dc_bth1">
          <input type="button" onClick="layer.closeAll();" class="admin_resume_dc_bth2" value='取消'>
        </div>
      </form>
    </div>
  </div>
</div>

<div id="infobox5"  style="display:none;text-align:center;">
  <div class="admin_com_t_box">
    <form action="index.php?m=admin_handle_entry&c=urgent" target="supportiframe" method="post" id="formstatus">
      <input type="hidden" name="pytoken" id="pytoken" value="{yun:}$pytoken{/yun}">
      <input type="hidden" name="codeugent"/>
      <div class=" admin_com_smbox_list_pd"> <span class="admin_com_smbox_span">紧急天数：</span>
        <input class="admin_com_smbox_text" value="" name="addday"  onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')">
        <span class="admin_com_smbox_list_s">天</span> </div>
      <div class="eurgentdiv" style="display:none"> <span class="admin_com_smbox_span">当前结束日期：</span> <span class="admin_com_smbox_list_s eurgent" style="color:#f60"></span> </div>
      <div class="admin_com_smbox_qx_box"> 如需取消紧急职位请单击
        <input type="checkbox" name="s" value="1">
        点击确认即可</div>
      <div class="clear"></div>
      <div class="admin_com_smbox_opt admin_com_smbox_opt_mt">
        <input type="submit" onclick="loadlayer();" value='确认' class="admin_examine_bth">
        <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx"  value='取消'>
      </div>
      <input name="pid" value="0" type="hidden">
      <input name="eid" value="0" type="hidden">
    </form>
  </div>
</div>

<div id="infobox6"  style="display:none;">
  <div class="admin_com_t_box">
    <form action="index.php?m=admin_handle_entry&c=recommend" target="supportiframe" method="post" id="formstatus">
      <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
      <input type="hidden" name="codearr">
      <div class=" admin_com_smbox_list_pd"> <span class="admin_com_smbox_span">推荐天数：</span>
        <input class="admin_com_smbox_text" value="" name="addday" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')">
        <span class="admin_com_smbox_list_s">天</span> </div>
      <div class="edatediv" style="display:none"> <span class="admin_com_smbox_span">当前结束日期：</span> <span class="admin_com_smbox_list_s edate" style="color:#f60"></span> </div>
      <div class="admin_com_smbox_qx_box"> 如需取消推荐职位请单击
        <input type="checkbox" name="s" value="1">
        点击确认即可 </div>
      <div class="clear"></div>
      <div class="admin_com_smbox_opt admin_com_smbox_opt_mt">
        <input type="submit" onclick="loadlayer();" value='确认' class="admin_examine_bth">
        <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
      </div>
      <input name="pid" value="0" type="hidden">
      <input name="eid" value="0" type="hidden">
    </form>
  </div>
</div>

<div id="status_div"  style="display:none; width: 390px; ">
  <form action="index.php?m=admin_handle_entry&c=status" target="supportiframe" method="post" id="formstatus" name="myform" class="layui-form">
    <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
    <table cellspacing='1' cellpadding='1' class="admin_examine_table">
      <tr>
        <th width="80">审核操作：</th>
        <td align="left"><div class="layui-form-item">
            <div class="layui-input-block">
              <input name="status" id="status0" value="0" title="未审核" type="radio"/>
              <input name="status" id="status1" value="1" title="正常" type="radio"/>
              <input name="status" id="status3" value="3" title="未通过" type="radio"/>
            </div>
          </div></td>
      </tr>
      <tr>
        <th>审核说明：</th>
        <td align="left"><textarea id="alertcontent" name="statusbody"class="admin_explain_textarea"></textarea></td>
      </tr>
      <tr>
        <td colspan='2' align="center"><div class="admin_Operating_sub">
            <input name="pid" value="0" type="hidden">
            <input type="submit" onclick="loadlayer();" value='确认' class="admin_examine_bth">
            <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
          </div></td>
      </tr>
    </table>
  </form>
</div>

<div id="infobox3" style="display:none;text-align:center;margin-top:20px">
  <form action="index.php?m=admin_handle_entry&c=xuanshang" target="supportiframe" method="post" id="formstatus" class="xssubmit">
    <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
    <div class=" admin_com_smbox_list_b"> <span class="admin_com_smbox_span">置顶天数：</span>
      <input class="admin_com_smbox_text admin_com_smbox_text_w130" value="" name="xsdays" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')">
      <span class="admin_com_smbox_list_s">天</span> </div>
    <div class="xsdiv" style="display:none"> <span class="admin_com_smbox_span">当前结束日期：</span> <span class="admin_com_smbox_list_s xsdate" style="color:#f60"></span> </div>
    <div class="admin_com_smbox_qx_box" style="width:300px;"> 如需取消职位置顶请单击
      <input type="checkbox" id="xtype" name="s" value="1">
      点击确认即可 </div>
    <div class="admin_com_smbox_opt admin_com_smbox_opt_mt" style="width:300px;">
      <input type="button" onclick="isxs();" value='确认'  class="admin_examine_bth">
      <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
    </div>
    <input name="pid" value="0" type="hidden">
  </form>
</div>

<div id="infobox2" style="display:none;">
  <div class="admin_com_t_box">
    <form action="index.php?m=admin_handle_entry&c=ctime" target="supportiframe" method="post" id="formstatus">
      <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
      <div class="admin_com_smbox_list"><span class="admin_com_smbox_span">延长时间：</span>
        <input class="admin_com_smbox_text" value="" name="endtime" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')">
        <span class="admin_com_smbox_list_s">天</span> </div>
      <div class="admin_com_smbox_opt">
        <input type="submit"  onclick="loadlayer();" value='确认' class="admin_examine_bth">
        <input type="button"  onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
      </div>
      <input name="jobid" value="0" type="hidden">
    </form>
  </div>
</div>

<div id="infobox4" style="display:none;">
  <div class="admin_com_t_box_hy">
    <form action="index.php?m=admin_handle_entry&c=saveclass" target="supportiframe" method="post" id="formstatus" onSubmit="return checkmove();">
      <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
      <div class="admin_com_select_list"> <span class="admin_com_smbox_span">行业类别：</span>
        <div class="admin_com_smbox_select_box">
          <select name="hy" id="hy" class="admin_com_smbox_select">
            <option value="">--选择大类--</option>
            
					{yun:}foreach item=v from=$industry_index{/yun} 
					
            <option value="{yun:}$v{/yun}">{yun:}$industry_name[$v]{/yun}</option>
            
					{yun:}/foreach{/yun}
				
          </select>
        </div>
      </div>
      <div class="admin_com_select_list"> <span class="admin_com_smbox_span">职位类别：</span>
        <div class="admin_com_smbox_select_box">
          <select name="job1" id="job1"  class="admin_com_smbox_select job1" lid="job1_son" >
            <option value="">--请选择--</option>
             
				{yun:}foreach from=$job_index key=j item=v{/yun}
				
            <option value='{yun:}$v{/yun}'>{yun:}$job_name[$v]{/yun}</option>
            
				{yun:}/foreach{/yun} 
			
          </select>
          <select name="job1_son" id="job1_son" class="admin_com_smbox_select job1" lid="job1_son1" >
            <option value="">--请选择--</option>
          </select>
          <select name="job_post" id="job1_son1" class="admin_com_smbox_select" >
            <option value="">--请选择--</option>
          </select>
        </div>
      </div>
      <div class="admin_com_smbox_opt admin_com_smbox_opt_mt">
        <input type="submit"  value='确认' class="admin_examine_bth">
        <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
      </div>
      <input name="jobid" value="0" type="hidden">
    </form>
  </div>
</div>

<div class="infoboxp">

	<div class="clear"></div>

	<div class="admin_new_search_box">
		<form action="index.php" name="myform" method="get" style="float:right;font-size: 14px;">
			<input type="hidden" name="m" value="admin_handle_entry"/>
			<input type="hidden" name="state" value="{yun:}$smarty.get.state{/yun}"/>
			<input type="hidden" name="job_type" value="{yun:}$smarty.get.job_type{/yun}"/>
			<input type="hidden" name="jtype" value="{yun:}$smarty.get.jtype{/yun}"/>
			<input type="hidden" name="salary" value="{yun:}$smarty.get.salary{/yun}"/>
			<input type="hidden" name="key" value="{yun:}$get_type.key{/yun}"/>

		   <!--<a href="index.php?m=admin_handle_entry&c=detail" class="admin_new_cz_tj" style="float:left;">+ 新增入职</a>-->

			<input class="admin_button-red" type="button" name="delsub" value="批量删除" onClick="return really('del[]')" style="float: left;"/>
			<input class="admin_new_cz_tj" type="button" name="delsub" value="导出" onClick="Export();" style="float: left;margin-right: 10px"/>

			<input type="text" placeholder="输入你要搜索的关键字" name="keyword" class="admin_new_text">
			<input type="submit" name='news_search' value="搜索" class="admin_new_bth">

			<!--<a href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();"   class="admin_new_search_gj">高级搜索</a>-->
		</form>
		<div style="clear: both;"></div>
		{yun:}include file="admin/admin_search.htm"{/yun} 
	</div>

	<div class="clear"></div>

	<div class="table-list">
		<div class="admin_table_border">
			<iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
			<form action="index.php" name="myform" method="get" id='myform' target="supportiframe" ">
				<input name="m" value="admin_handle_entry" type="hidden"/>
				<input name="c" value="del" type="hidden"/>
				<table width="100%">
					<thead style="background: #fafafa">
						<tr class="admin_table_top">
						<th style="width:20px;"> 
							<!--<label for="chkall"><input type="checkbox" id='chkAll'  onclick='CheckAll(this.form)'/></label>-->
							<label class="hiddeninputbox">
								<input type="checkbox" class="hiddeninput" id='chkAll' onclick='CheckAll(this.form)'>
								<span class="hiddeninput-span"></span>
							</label>
						</th>
						
						<!--{yun:}if $smarty.get.t=="id" && $smarty.get.order=="asc"{/yun}
							<th><a href="{yun:}searchurl order=desc t=id m=admin_company_job untype='order,t'{/yun}">编号<img src="images/sanj.jpg"/></a></th>
						{yun:}else{/yun}
							<th><a href="{yun:}searchurl order=asc t=id m=admin_company_job untype='order,t'{/yun}">编号<img src="images/sanj2.jpg"/></a></th>
						{yun:}/if{/yun}-->
						<th>序号</th>
						<th>姓名</th>
						<th>年龄</th>
						<th>性别</th>
						<th>联系电话</th>
						<th>岗位</th>
						<th>面试企业</th>
						<th>状态</th>
						<th>来源</th>
						<th>添加时间</th>
						<th class="admin_table_th_bg">操作</th>
					</thead>

					<tbody>
						{yun:}foreach item=v key=key from=$rows{/yun}
							<tr align="center"  {yun:}if ($key+1)%2=='0'{/yun}class="admin_com_td_bg"{yun:}/if{/yun} id="list{yun:}$v.id{/yun}">
								<td>
								<!--<input type="checkbox" value="{yun:}$v.id{/yun}" class="check_all" name='del[]' onclick='unselectall()' rel="del_chk" />-->
									<label class="hiddeninputbox">
										<input type="checkbox" class="hiddeninput check_all" value="{yun:}$v.id{/yun}" name='del[]' onclick='unselectall()' rel="del_chk" />
										<span class="hiddeninput-span"></span>
									</label>
								</td>
								<td class="td1" style="text-align:center;width:50px;"><span>{yun:}$key+1{/yun}</span></td>
								<td>
									<div class=""> 
										{yun:}$v.member_name{/yun}
									</div>
								</td>
								<td class="ud" align="center" width="210">
									{yun:}$v.member_age{/yun}
								</td>
								<td class="td" align="center">
									<div class="admin_new_t_j">{yun:}$v.member_sex{/yun}</div>
								</td>
								<td class="td" align="center">
									{yun:}$v.member_phone{/yun}
									<!--<div class="mt8">{yun:}$v.lastupdate|date_format:"%Y-%m-%d"{/yun}</div>-->
								</td>
								<td class="td" align="center">{yun:}$v.job_name{/yun}</td>
								<td>{yun:}$v.company_name{/yun}</td>
								<td>{yun:}$v.entry_state{/yun}</td>
								{yun:}if $v.source == 1{/yun}
								<td>APP</td>
								{yun:}elseif $v.source == 2{/yun}
								<td>管理人员</td>
								{yun:}/if{/yun}
								<td>{yun:}$v.add_time{/yun}</td>
								<td>
									<div class="admin_new_bth_c">
										<a href="index.php?m=admin_handle_entry&c=detail&id={yun:}$v.id{/yun}&key={yun:}$get_type.key{/yun}" class="admin_text_bth" >入职</a>
										<a href="javascript:void(0)" onClick="layer_del('确定要删除？', 'index.php?m=admin_handle_entry&c=del&id={yun:}$v.id{/yun}');" class="admin_text_bth">删除</a>
									</div>
								</td>
							</tr>
						{yun:}/foreach{/yun}
						
						<!--<tr>-->
							<!--<td colspan="13" class="digg">{yun:}$pagenav{/yun}</td>-->
						<!--</tr>-->
					</tbody>
				</table>
				<div class="diggbox">
					<div  class="digg">{yun:}$pagenav{/yun}</div>
				</div>
				<input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
			</form>

		</div>
	</div>
</div>

<script>
layui.use(['layer', 'form'], function(){
	var layer = layui.layer
		,form = layui.form
		,$ = layui.$;
});
$(document).ready(function(){
	$(".job1").change(function(){
		var job=$(this).val();
		var lid=$(this).attr("lid");
		if(job==""){
			$("#"+lid+" option").remove()
			$("<option value=''>--请选择--</option>").appendTo("#"+lid);
		}
		lid2=$("#"+lid).attr("lid");
		if(lid2){
			$("#"+lid2+" option").remove();
			$("<option value=''>--请选择--</option>").appendTo("#"+lid2);
		}
		$.post(weburl+"/index.php?m=ajax&c=ajax_job", {"str":job},function(data) {
			if(lid!="" && data!=""){
				$('#'+lid+' option').remove();
				$(data).appendTo("#"+lid);
			}
		})
	})
})
</script>
</body>
</html>